package com.ms.service.module.fish.message.server;

import java.nio.ByteBuffer;

import com.ms.service.module.fish.message.FishBaseMessage;

/**
 * 预进入游戏110
 * @author cuiwm
 */
public class EnterRoomMessage extends FishBaseMessage{
	
	private int desk;
    private int index;
    
    public EnterRoomMessage(int desk, int index) {
    	this.desk = desk;
    	this.index = index;
	}

	@Override
	public void writeBody(ByteBuffer buf) {
		buf.putInt(desk);
		buf.put((byte) index);
	}


}